package extend.client.base;

import extend.client.base.Request;

import java.util.List;
import java.util.Map;

/**
 * 传输接口基类
 *<B>说明：</B>
 *<pre>
 * 略
 *</pre>
 *<B>示例：</B>
 *<pre>
 *  略
 *</pre>
 *<B>日志：</B>
 *<pre>
 *  略
 *</pre>
 *<B>注意事项：</B>
 *<pre>
 *  略
 *</pre>
 */
abstract public class Transport
{
    abstract public Request send(Request request);

    public void batchSend(List<Request> requests)
    {
        for (Request request:requests) {
            this.send(request);
        }
    }

}
